package com.qianxp.designparttern.singleton;

/**
 *@author qianxp
 */
public class Lazy{
    private Lazy(){};

    public static Lazy getInstance(){
        return LazyHandler.lazy;
    }

    private static class LazyHandler{
        private static Lazy lazy = new Lazy();
    }
}